#include "zijian.h" 
#include "delay.h"
float pitch0,roll0,yaw0,altitude0;
u8 set_startvalue(void){
	u8 i=0;
	pitch0=pitch;
	roll0=roll;
	yaw0=yaw;
	delay_ms(100);
	for(i=1;i<100;i++){
		pitch0=pitch0+pitch;
		roll0=roll0+roll;
		yaw0=yaw0+yaw;
		delay_ms(100);
	}
		pitch0=pitch0/100;
		roll0=roll0/100;
		yaw0=yaw0/100;
		return 0;

}



